package com.example.carrealtimepublisher.service.impl;

import com.example.carrealtimepublisher.bean.AverageSpeed;
import com.example.carrealtimepublisher.mapper.AverageSpeedMapper;
import com.example.carrealtimepublisher.service.AverageSpeedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AverageSpeedServiceImpl implements AverageSpeedService {
    @Autowired
    private AverageSpeedMapper averageSpeedMapper;
    @Override
    public List<AverageSpeed> queryAverageSpeed() {
        return averageSpeedMapper.queryAverageSpeed();
    }
}
